package cn.iocoder.yudao.module.picturebook.controller.admin.classmember.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.util.*;

import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 班级成员关联 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ClassMemberRespVO {

    @Schema(description = "班级成员ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4679")
    @ExcelProperty("班级成员ID")
    private Long id;

    @Schema(description = "关联班级", requiredMode = Schema.RequiredMode.REQUIRED, example = "27905")
    @ExcelProperty("关联班级")
    private Long classId;

    @Schema(description = "关联用户", requiredMode = Schema.RequiredMode.REQUIRED, example = "14857")
    @ExcelProperty("关联用户")
    private Long userId;
    @Schema(description = "成员名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("成员名称")
    private String memberName;
    @Schema(description = "角色：1-学生，2-老师", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("角色：1-学生，2-老师")
    private Integer role;

    @Schema(description = "加入时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("加入时间")
    private LocalDateTime joinTime;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}